package com.b2b.exception;

public class UUException extends RuntimeException
{
	private static final long serialVersionUID = 7543034862014978323L;

	private int _code = 0;

	public UUException(String message)
	{
		super(message);
	}

	public UUException(Exception message)
	{
		super(message);
	}

	public UUException(int code, String message, Throwable cause)
	{
		super(message, cause);
		
		_code = code;
	}

	public UUException(int code, String message)
	{
		super(message);

		_code = code;
	}

	public UUException(int code)
	{
		super("code: " + code);

		_code = code;
	}

	public UUException()
	{
		super();
	}

	public UUException(String message, Throwable cause)
	{
		super(message, cause);
	}

	public int getCode()
	{
		return _code;
	}

	public void setCode(int code)
	{
		_code = code;
	}
    
}
